package com.macro.service;


import com.macro.pojos.dto.ResponseResult;
import com.macro.pojos.dto.UserDto;
import com.macro.pojos.dto.UserUpdateDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UserService {
    ResponseResult enrollUser(UserDto userDto);

    ResponseResult goCode(String eml);

    ResponseResult VerificationCode(String code);

    ResponseResult upload(MultipartFile file) throws IOException;

    ResponseResult deleteUser(Integer id);

    ResponseResult updateUser(UserUpdateDto userUpdateDto);

}
